/**
 * Project Name:mauto-web
 * File Name:jyOrderDao.java
 * Package Name:com.inftech.mauto.jy.dao
 * Date:2017年6月19日上午10:01:32
 * Copyright (c) 2017, inf-technology Co., Ltd. All Rights Reserved.
 *
*/

package com.inftech.mauto.jy.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.inftech.mauto.jy.entity.JyOrder;

/**
 * ClassName:jyOrderDao <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Date: 2017年6月19日 上午10:01:32 <br/>
 * 
 * @author Administrator
 * @version
 * @since JDK 1.7
 */
public interface JyOrderDao {
	public List<JyOrder> queryOrderList(Map<String, Object> map);

	public int queryOrderCount(Map<String, Object> map);

	public List<JyOrder> queryOrderList1(Map<String, Object> map);

	public List<JyOrder> searchOrderList(Map<String, Object> map);

	public JyOrder getOrderDetail(Map<String, Object> map);

	public JyOrder getCarDetail(Map<String, Object> map);

	public int saveCarDetail(Map<String, Object> map);

	public List<Map<String, Object>> getWxxmDetail(Map<String, Object> map);

	public List<Map<String, Object>> getTcList();

	public List<Map<String, Object>> getXmList();

	public List<Map<String, Object>> getPjList();

	public int updateOrderTc(Map<String, Object> map);

	public int updateOrderWxxm(Map<String, Object> map);

	public int updateOrderPj(Map<String, Object> map);

	public Integer getOrderIdByOrderCode(@Param("orderCode") String orderCode);

	public void insertJyOrderTc(Map<Object, Object> map);

	public void insertJyOrderWxxm(Map<Object, Object> map);

	public void insertJyOrderPj(Map<Object, Object> map);

	public void insertJyOrderWxxmWithTcId(Map<Object, Object> map);

	public List<Map<String, Object>> getAllBgxm();

	public List<Map<String, Object>> getAllBgxm2();

	public int updateWyStartTime(Map<String, Object> map);

	public int updateWyEndTime(Map<String, Object> map);

	public void insertJyOrderwxbg(Map<String, Object> map);

	public List<Map<String, Object>> getWxpic(String orderCode);

	public void insertJyBasePic(Map<String, Object> map);

	public List<Map<String, Object>> getTcListByOrderCode(String orderCode);

	public List<Map<String, Object>> getXmListByOrderCode(String orderCode);

	public String getWxxmPrice(String name);

	public String getOrderHjByOrderCode(String orderCode);

	public String getOrderYhPrice(String orderCode);

	public String getCouponPrice(@Param("couponCode") String couponCode);

	public int updateOrderByPay(Map<String, Object> map);

	public int updateCouponByCouponCode(Map<String, Object> map);

	public int updateJSFinish(@Param("orderCode") String orderCode);

	public int updatePrice(Map<String, Object> map);

	public void insertOrder(Map<String, Object> map);

	public JyOrder getOrderByOrderCode(String orderCode);

	public int updateCancelByOrderCode(Map<String, Object> map);

	public List<Map<String, Object>> getJcbgDetail(String orderCode);

	public List<Map<String, Object>> getOrderListByPeopleId(Map<String, Object> map);

	public List<Map<String, Object>> getPJXXByPJLB(String pPLB);

	public int getOrderCountByPeopleId(Map<String, Object> map);
	
	public int updatePayStatusByOrderCode(Map<String, Object> map);
	
	public String getPayStatusByOrderCode(String orderCode);

}
